.header-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 1000px;
  height: 64px;
  padding: 0;
  background-image: url('@/assets/images/main/heard-bg.png');
  // background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  --el-header-padding: 0;

  .title-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 162px;
    height: 100%;
    line-height: 22px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #e4e4e4;
    cursor: pointer;
    .img-logo {
      width: 30px;
      height: 30px;
      margin-right: 10px;
      background-image: url('@/assets/images/overView/logo-guotian.png');
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }
  }

  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 162px;
    height: 100%;
    line-height: 22px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #e4e4e4;
    cursor: pointer;
  }
  .icon-menu {
    margin-left: 15px;
    font-size: 20px;
    cursor: pointer;
  }

  .right-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    margin: 0 20px;

    .line {
      width: 1px;
      height: 20px;
      margin-left: 20px;
      background-color: #f6f8ff;
    }

    .box-wrap {
      display: flex;
      align-items: center;
      margin-left: 20px;
      color: #e8e8e8;
    }
    .icon-font {
      font-size: 18px;
    }
    .icon-arrow {
      width: 7px;
      margin-top: 3px;
      line-height: 4px;
      margin-left: 4px;
      font-size: 20px;
      transform: scale(0.3);
    }
    .text {
      margin-left: 4px;
      font-size: 13px;
    }
    .text-bold {
      font-weight: bold;
    }

    .box-cursor {
      display: flex;
      position: relative;
      cursor: pointer;
    }
  }
}
.menu-wrap {
  display: flex;
  flex-direction: column;
  width: 162px;
  height: calc(100vh - 64px);
  background-color: #fff;

  &.menu-wrap2 {
    animation: m-right 0.1s linear 1;
  }

  &.menu-wrap1 {
    width: 50px;
    animation: m-left 0.1s linear 1;
  }

  @keyframes m-right {
    0% {
      width: 46px;
    }
    100% {
      width: 162px;
    }
  }

  @keyframes m-left {
    0% {
      width: 162px;
    }
    100% {
      width: 46px;
    }
  }

  .item-wrap {
    display: flex;
    justify-content: space-between;
    // padding: 11px 25px 11px 16px;
    align-items: center;
    height: 40px;
    color: #555555;
    cursor: pointer;
    box-sizing: border-box;

    // &:first-child {
    //   padding-top: 13px;
    // }
    // &:last-child {
    //   padding-bottom: 13px;
    // }

    &:hover {
      background-color: #f8f8f8;
    }

    &.item-select {
      background-color: #68a0ff;
      color: #fff;
      font-weight: bold;
      border-right: 4px solid var(--el-color-primary);
      box-sizing: border-box;
    }

    .name-wrap {
      display: flex;
      margin-left: 20px;
    }

    .iconfont {
      width: 14px;
      line-height: 18px;
      margin-right: 4px;
      font-size: 14px;
    }

    .iconfont1 {
      width: 40px;
      height: 40px;
      margin-right: 0 auto;
      font-size: 20px;
    }
    .name {
      line-height: 18px;
      font-size: 13px;
      word-break: keep-all; /* 不换行 */
      white-space: nowrap; /* 不换行 */
      overflow: hidden; /* 内容超出宽度时隐藏超出部分的内容 */
    }

    .icon-arrow {
      // height: 14px;
      margin-top: -5px;
      font-size: 20px;
      transform: scale(0.3);
      // transform-origin: 50% 50%;
      transform-origin: 176% 76%;

      &.arrow-top {
        // margin-top: 9px;
        animation: a-top 0.1s linear 1 forwards;
      }
      &.arrow-bottom {
        // margin-top: -1px;
        animation: a-bottom 0.1s linear 1 forwards;
      }

      @keyframes a-top {
        0% {
          transform: rotate(0deg) scale(0.3);
        }
        100% {
          transform: rotate(180deg) scale(0.3);
        }
      }
      @keyframes a-bottom {
        0% {
          transform: rotate(180deg) scale(0.3);
        }
        100% {
          transform: rotate(0deg) scale(0.3);
        }
      }
    }
  }
}

.main-wrap {
  position: relative;
  padding: 46px 0px 30px 20px;
  background-color: #f6f8ff;
  overflow: hidden;

  .breadcrumb-wrap {
    position: absolute;
    top: 17px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;

    .text {
      color: var(--el-color-primary);
    }
  }

  .top-tip-wrap {
    display: inline-flex;
    align-items: flex-start;
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 0 7px;
    line-height: 22px;
    font-size: 12px;
    color: var(--el-color-primary);
    background-color: rgba(80, 115, 247, 0.2);
    border-radius: 4px;
    .icon {
      width: 16px;
      height: 16px;
      line-height: 22px;
      margin-top: 4px;
      margin-right: 6px;
      background-image: url(@/assets/images/head-tip.png);
      background-repeat: no-repeat;
      background-size: 100%;
    }
  }

  .page-scrollbar {
    width: 100%;
    height: calc(100vh - 64px - 76px);

    :deep(.el-scrollbar__view) {
      height: auto;
    }
  }
  .page-wrap {
    margin-right: 20px;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
  }
  .page-wrap1 {
    background-color: #f6f8ff;
  }
}

.beian-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  bottom: 0;
  line-height: 22px;
  color: rgba($color: #fff, $alpha: 0.6);
  font-size: 12px;

  .text {
    margin: 0 5px;
    color: #ccc;
    font-size: 12px;
  }
  .icp {
    cursor: pointer;
  }
}
